//
//  OrderSureSetionView.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/26.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class OrderSureSetionView: BaseTableHeaderFooterView {
    
    @IBOutlet weak var textLable: UILabel!
    
    var section : Int?{
    
        didSet{
        
            if section == nil {
                return
            }
        
            if section == 1 {
                textLable.text = "结算信息"
            }else if section == 99 {
                textLable.text = "选择充值方式"
            }else if section == 100 {
                textLable.text = "输入充值金额"
            }else if section == 199 {
                textLable.text = "请绑定持卡人本人的银行卡"
            } else {
                textLable.text = "选择支付方式"

            }
        
        }
    
    
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        contentView.backgroundColor = UIColor.viewBgGrey()
        
    }
    


    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
